Book Contents

Example: Addresses of hyperlinks

The address of the hyperlink animation can be a URL address, a file path, a tag, or an expression.

Example 1: Use a URL address

To link to the homepage of Rockwell Automation, in the Address box, enter:

  • "http://www.rockwellautomation.com" or ''www.rockwellautomation.com" on a personal computer or MobileView terminal
  • "http://www.rockwellautomation.com" on a PanelView Plus 7 or PanelView Plus 6 terminal

The URL must be enclosed in double quotes.

Example 2: Use a file path

To link to the file sample.pdf in C:\Users\Public\Documents, in the Address box, enter: "C:\Users\Public\Documents\sample.pdf"

The path must be enclosed in double quotes.

Example 3: Use a tag

Assume that the string tag linkAddress represents the linked destination of a web page or a file. To use the tag, in the Address box, enter: linkAddress

Example 4: Use an expression

Assume that:

  • The string tag launchApp represents the location of the program: C:\Windows\System32\notepad.exe
  • The string tag launchWarningFile represents the location of the file that contains the warning information: C:\Users\Public\Documents\warnings.txt
  • If the current user has the security code A, the system launches the specified program. Otherwise, the system shows the specified warning information.

To do this, in the Address box, enter: If CurrentUserHasCode(A) Then launchApp Else launchWarningFile

See also

Set up hyperlink animation

Options on the Hyperlink tab